home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softwarová Záchrana 3
/
Softwarova-zachrana-3.bin
/
Xteq X-Setup
/
xqdcXSP-Setup-EN.exe
/
{app}
/
plugins
/
XQ WinMessenger 14.xpl
< prev
next >
Wrap
Text File
|
2003-12-06
|
2KB
|
69 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="2"
"UIPATH"="Internet\Instant Messaging\Windows Messenger\System"
"NAME"="Allow Run Options (Current User Only)"
"VERSION"="1.01"
"LANGUAGE"="VBScript"
"TEXT 1"="Allow Windows Messenger to be run"
"TEXT 2"="Allow Windows Messenger to be run on start-up"
"DESCRIPTION 1"="These options allow you to stop Windows/MSN Messenger if you want to."
"DESCRIPTION 2"="NOTE: If both the "Current User" and the "All Users" settings are activated, the "All Users" settings count."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="Thanks to "Kelly" <kelly@mvps.org> for the settings"
sP="HKCU\SOFTWARE\Microsoft\MessengerService\"
sV1="HKCU\SOFTWARE\Policies\Microsoft\Messenger\Client\PreventRun"
sV2="HKCU\SOFTWARE\Policies\Microsoft\Messenger\Client\PreventAutoRun"
Sub Plugin_Initialize
' if RegPathExists(sP) then
i=RegReadValue(sV1)
if i<>"1" then SetUiElement 1,true
i=RegReadValue(sV2)
if i<>"1" then SetUiElement 2,true
' else
' Call Disable()
' end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
if RegValueExists(sV1) then RegDeleteValue(sV1)
else
Call RegWriteValue(sV1,"1",2)
end if
b=GetUIElement(2)
if b=true then
if RegValueExists(sV2) then RegDeleteValue(sV2)
else
Call RegWriteValue(sV2,"1",2)
end if
Call Logoff()
End Sub
Sub Plugin_Terminate
End Sub